
const name = 'menus'
export default {
    getMenus(){
        return localStorage.getItem(name)
    },
    setMenus(menus:any){
        return localStorage.setItem(name,JSON.stringify(menus))
    }
}